/*
 * Copyright 2024 Harness, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.treeViewPageContainer {
  --tree-view-page-content-height: calc(var(--page-height, var(--page-min-height)) - var(--page-header-height, 64px));
  --har-repository-details-page-header-height: 0px;
  --har-version-details-page-header-height: 0px;
  width: 100% !important;
  height: var(--tree-view-page-content-height);
}

.splitPane {
  & > div:nth-of-type(2) {
    overflow: auto !important;
  }
}

.treeViewContainer {
  height: var(--tree-view-page-content-height);
  overflow: auto;
  border-right: 1px solid var(--grey-200);
  background-color: var(--white) !important;
  padding: var(--spacing-0) var(--spacing-0) var(--spacing-small) !important;
}

.treeViewPageContentContainer {
  position: relative;
  background-color: var(--primary-bg) !important;
  height: var(--tree-view-page-content-height);
  overflow: auto;
  padding: var(--spacing-0);
  border-top: 1px solid var(--grey-200);
}

.sortingDropDown {
  cursor: pointer;

  & :global([class*='DropDown--dropdownButton--']) {
    column-gap: var(--spacing-small) !important;
  }
}

.searchInput {
  min-height: 45px !important; // to match blueprint tab min height
  border-bottom: 1px solid var(--grey-200) !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.13);
}
